package com.ls.dao;

import com.ls.pojo.Device;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DeviceMapper {
    //查询所有
    public List<Device> getDeviceAll();

    //添加
    public int addDevice(Device device);

    //修改
    public int updateDevice(@Param("id") Integer id,@Param("status") Integer status);

    //删除
    public int delete(Device id);
}
